Modify for compiling on linux.