Added option to specify windowslibraryname