Move compilation of .slex files to pre_compile so the generated .erl file is included in the compile step.
Keep comments prefixed with 3 or more % in the generated .erl file.