migrate native to current Makefile structure

Also reorders linker options because gcc needs -lrt later in the option list for it to work on some systems (at least in ubuntu 12.04). Please review this change for compliance with other options/targets needs and change if needed.