configure: Check for fcntl.h