Fixing postinstall errors.