get PREFIX right for ninstall