Fix build on unix.