Fix test for presence of flock(1)