Fixed missing required header file detection

An error is reported by configure script if a required
header file is missing (the bug was found upon migration
to a new devel. machine, HP libatomic-ops-dev was not installed).