erlang: Fix build on Snow Leopard.