Fixed Mac OS X dynamic libraries