Use correct compile method.