Don't use -shared on OSX. #6