[WIP] garnet fixes

This should build Proteus on the Cray XE6 cluster: Garnet, but should be easily ported to other Cray XE6 machines as well.

Don't merge this, I need to clean this up so that it only invokes the appropriate patches when on a Cray XE6 instead of overriding all of the linux codes.