cvs: cross build and dbg support.