Add postinstall script to deal with root requirement