issue72: additional exception fixes for mac osx native library loading