Added support for .dylib loading for running on OS X
Merge pull request #352 from iLoop2/cross_platform_library_loader

Added support for .dylib loading for running on OS X