install_gccdist failed to install

The function install_gccdist was failing because it created a directory on line 241, causing the test on line 253 to always behave as though gccdist was already installed, even when it wasn't.  I put this patch together rather quickly, so I'm not sure if it follows the conventions already in use, but it fixed the errors on my Linux system.