Log Message: Previous change broke build on NetBSD because it tried to "rm -f" a directory instead of just the file that was intended.