Merged Phidgets code and fixed build configurations