Cray compatiblity

This PR makes crayftn a happy creature. Note I've tested only "jeans" and "sedov" so I don't have 100% code base coverage, but it should be enough for now.