Fixed compile errors. pcrio is C library btw.