fixing the library name so that it works on windows and linux