moved removing of make packages and post-install() execution above