make it less error-prone to handle config.mk
fix