Makefile: adding automatic rebuild on environment change

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
common.mk: switch to std=gnu11

Signed-off-by: Steven Noonan <steven@uplinklabs.net>