small snippet to install xiapi into a prefix