CHG: Updated build scripts (heasoft has been brought to the same level as the other two)