Change linker flags for Mac OS X 10.8