downgrade libxml so we can use apt
smarter dir finding