refactoring build system to use the GNU Assembler