Accommodating protein flexibility for structure based drug design