Compile on OS X. Added install target.