Fix to remove console window on windows build