Fixed some links that didn't work in build mode.

 Also changed all generated links from absolute to relative

 Removed all files from build/ and gitignored it