Build fixes - scriptapi

XTUPLE_DIR is not set consistently from the top level if the projects are not checked out using the exact names suggested by xTuple.  This makes the build work anyway, by using relative paths, it already appears to be done this way in some of the other ```*.pro``` files.