make it build with GHCJS on Windows