Appends the version of the component into the build path

@yields Could you please review my change? I don't expect you to merge this into the main branch, but some feedback would be great!
D'oh! I see what you mean. The loop is unnecessary.