revert to before_install in an attempt to fix gcov