Add osx dynamic library.
Fix save location.