Bugfix: inject included files before replacing %VERSION%, to make sure to replace them all.
Fixes GH-120