Windows compile fix