maximize frame on non-windows OS