introduce buildconfig
fix Makefile