No need to remove -thread for Mac OS X