add makefile and .gyp file to be able to build as a standalone lib