Fix saving name of the library for the MacOSX plateform

Please see issue https://github.com/f3an/root-framework/issues/13