recompile beam files