Fix problems installing libv8 on OS X.