GC lib path is a linker flag, not a compiler flag
Use -lpthread on OSX. Closes #731