compat: added cmake file and python compat