[gmock] Update install scripts to enable proper building of gmock-all by other tools