Changed the stage dir variable to allow build to proceed