compile and load erlang modules from string input