Improved build process under Windows.