add -f to rm, was preventing compilation on OSX