make this build on unix