Set C compiler and linker flags correctly for OS X 64