Converted build files to the new style

I also prepared the ubuntu files for their creation.

Will Wilee ever make a pull request with an Ubuntu tutorial? Story @ 11.

(though maybe it's because i don't know how to make one for ubuntu)