Add configuration for build type in build.config.
Update exe file name.
MinGW build tweaking.