Merged pvr.wmc into Gotham branch and modified build files to make it compile.