Fix OS X run script
Don't compile as Obj-C++
Fix library path