Modifications to build on Linux.