[build] fix building on windows

See https://github.com/parrot/parrot/pull/1139