Fix build error on non-linux machines.