The PILOT optical alignment for its first flight