append platform information to config.log
make config.log nicer
append $PATH components to config.log
check Mathematica version