Fix for bluegene machines from commit
0c090f95d2980930b83d1bf97928be0fff1bdb42