refactor erlc command line building
handle application resource files upon build