Modify cmake for cross compiling windows on linux