(QENG-1033) Don't modify constants and properly support all Linux platforms in Perf

This is no longer needed and should be removed.