Attempt to fix clang fail in erlang compilation