PJO: fixed compile script when $DISPLAY is not set