fix libname for install process
some fixes for auto-linking on WINDOWS