erlang: enable and fix builds on darwin
rabbitmq_server: enable builds on darwin