Fix install errors