Partly fix bldfile.

    Still missing support for local deps.