test for rhel 5 gcc when building dep-selector-libgecode

Should make things work on RHEL 5. /cc @danielsdeleo