Updated references to lib/main and vm.
Also added lib/main/cp/BD.oz to the 'to be compiled' functors.