Your changes resolve the issue and I can confirm that the erlang module now builds on CentOS 7, Fedora 21, & Fedora 22. Thank you.
—Reply to this email directly or view it on GitHub.