Add the compat library