Fix build for unix.