updates to Makefile to supress register warnings with g++/clang++