update build to make gallery work on windows