C++11 Wrapper for Erlang NIF API