building with emi-pkg-compat