BUILD: Fix autoconf failing in MinGW

I'm splitting the AC_CONFIG_FILES call into multiple calls to workaround
an issue with line endings. DrMcCoy and I agree that this is better than
forcing the repo to be checked out as all LF.
BUILD: Fix boost detection on MinGW