Just follow the instructions for using WPILib with MPLab that are posted on the WPILib web page.
Link:
http://users.wpi.edu/~bamiller/WPILib/UsingMPLab.pdf
AFAIK, I don't see how WPIlib can be combined with the default IFI code. Rather, it replaces the IFI code.