Fixing build errors on linux.