Check for mysql include in multiple places, fixes a build problem on redhat7.