Builder pattern for configuring compiler