It looks like you may have installed a PIO 1.x version, rather than the newer PIO 2.x library, based on the presence of just a libpio.a file in your $PIO/lib directory. Is that correct?
Anyway, if you're using MPAS v8.0 or later, an alternative may be to use the SMIOL I/O library rather than...