i) implemented make_gdt_entry as function instead of macro
ii) adjustments of the makefiles

TODO
i) test make_gdt_entry