fixes #7250 per description. works for code::blocks now.

see #7250