Support gcc 4.9 in cmake, fix uninitialized value warnings
moved/cleaned up gcc-ar/gcc-ranlib checking #245
Merge pull request #245 from Tokutek/gcc-4.9-support

Support gcc 4.9 in cmake, fix uninitialized value warnings