[tools] Rewrote makefiles. Removed emulation support for bochs.