fix pom for mac profile
fix native library loading on mac os x