Modified the build location of gtest to have permission to write to directory