Fixed error compiling on linux.