Added paths and compiler flags for OSX
Moved stdlib flags into src CMakeLists.txt.
Merge pull request #16 from minesense/master

Compiling on OSX