Fix install. closes #1109