fix panda lib extension for osx