fixes #7250 per description. works for code::blocks now.
Merge branch 'fix7250' of https://github.com/cSep/Cataclysm-DDA into cSep-fix7250