Fixed issue where SLC6 needs '-std=c++0x' but SLC5 doesn't support it