add -O option to pkg register, this register the package in the old format
Kill pkg_compat in favor of pkg register -O