Extract build features from Makefile