sychronize Makefile to other tests

this will also fix warnings from compiler on native