modified build for unix