Fix postinstall error