compile script:
#!/bin/bash
if [ "$1" != "" ]; then
out_dir="$1"
else
echo "Please specify a v8 build directory: $0 out/dir"
exit 2
fi