Based on buildnb.sh parameters, create a config.mk

This makes it possible to just type "make" after running buildnb.sh
instead of having to go and export all the variables manually.