Fixed minor issue in postinstall script