building error on windows fixed