Cleaning up calling convention for windows.