AC-8004 Made more conditional compiles so torque would
work without the hardware location attributes.