Merge pull request #2085 from LukeCz/patch-2

Fix for: failed build on centos6 master #1587