moved/cleaned up gcc-ar/gcc-ranlib checking #245