Fix build for unix