export symbols with -rdynamic flag for OS X compatibility