Exploring drug target flexibility using in situ click chemistry: application to a mycobacterial transcriptional regulator.