Please clone the version from Quanton or Freedom.  I cleaned up the serial init code when I was working on CDC and the debug port.  I'll factor this out at some point but for now, just make sure your pios_board file is modelled after one Quanton or Freedom for this.