Add compile check for my-pre