hacks to build on ash.chpc.utah.edu
added PIDX_validate, other small fixes