keep dynamic linking on Mac OS X