It should work unless you want to load code from lib/ dynamically without calling mix escript.build again.
mix escript.build