Fixes bug which would not build config.h file