Made gmock optional