Minor modificaitons for running on the pic 32.