Fix require order for windows