Fix build on Unix