Replace v7 compat library with v4 support.