Remove compiler warning about write.
Switch back to gcc... more portable.