include Makefile.common before using $(BuildMode) to get its definition