Check if compiler supports OpenMP (issue #161).