Upgraded to FVM 0.2.6.7, and a few fixes and changes in build script