Move option pre-processing into compile call.