option(HAVE_LOCKS "Build with POSIX locking mechanisms" ON)