Cordova docs instruct you to add this to the wp8 platform files:
<Capabilities>
<Capability Name="ID_CAP_ISV_CAMERA" />
<Capability Name="ID_HW_FRONTCAMERA" />
</Capabilities>
The second line breaks the build. Removing:
<Capability Name="ID_HW_FRONTCAMERA" />
fixed this issue.