Try static linking on Windows