disable extra source dirs requirement for GCC versions older than 4.5

although the diff is big, only a couple of lines of code are added (the version check on 4.5 on top, and the else part at the bottom), the remainder is indentation

this is required for GCC versions prior to 4.5 (PR with easyconfigs coming up)