Create RIOT specific make file
Fix error.h macros