Small changes to allow project to be compiled on Linux.