Updated to build on Linux.