Excluding unnecessary libraries for Mac OS X build