Add default options for compiler and prepare. Fix helperexport warning.