osx doesn't know --(no)-whole-archive commands
Merge pull request #5 from ethz-asl/fix/osx_linking

osx' linker doesn't know --(no)-whole-archive commands