Fixed up to build on linux.