Utility for directing compilation