compile in postinstall as well so installing from git works