Changes to Build Elevation Tools from Nat C for 10.3 bacported to 10.2

Changes to Build Elevation Tools from Nat C for 10.3 bacported to 10.2
Merge pull request #171 from mfunk/v10.2.2.2

Changes to Build Elevation Tools from Nat C for 10.3 bacported to 10.2