comment.c: more robust compilation track detection