use ghcjs_HOST_OS macros, support Windows in booter