Update erlang environment.

Using projectile-compile-project instead of hack compile command.