Have you tried putting this inside the project function inside mix.exs?
project
mix.exs
elixirc_paths: ["lib"],