Fix entry module being undefined when using `src`.
Get rid of annoying charset warning.