fix f18 build
Merge pull request #1943 from jlsherrill/build_fix

fix f18 build