Proper handling of 'HAVE_SEM_OPEN' config var which returns None if not present on freebsd7+