allow dynamic module loading on OSX - apparently this works since 10.3/10.4