Windows build fix for script library.