Gettihg the following error:
src/libavcodec/libx264.c:282:9: error: use of undeclared identifier 'x264_bit_depth' if (x264_bit_depth > 8)
Found the solution: You'll need to update the versions of x264 and ffmpeg url's to newer versions in the script.