Fixed hdinsight require so it works from MSI.

Fixes #761 and probably #772 as well.

Also cleaned up some extra cruft that we don't need in the msi.