Attempt to fix the osx ld error