Updated to build on linux.