Switch to a proper working openmp check as per Jauhien suggestion in issue #327

Package-Manager: portage-2.2.8-r2
Switching to a proper test for openmp as suggested by jauhien in issue #327, simplify dependencies.

Package-Manager: portage-2.2.8-r2