Fixed some warnings.
Removed compiler switch for HarmonicForce.