build: Make sure we generate path/config.js

This tries to fix parallel builds fails making GResource generated files for JS
files depends on path.js and config.js, so we ensure that these files are
properly generated before generate the GResource source files.

https://bugzilla.gnome.org/show_bug.cgi?id=734507