List internal vapi dependencies as sources

This should solve the dependency issue breaking parallel build.
Instead of specifying dependencies on in-project libraries using --pkg,
we now directly specify the corresponding .vapi in sources, which makes
it properly depend.