Mac OS X / imp changes

- ulimit is too low on OSX.
- Set the path to the correct compiler.
Use homebrew compiler before system compiler on OSX