Changes to support Linux.