Adding makefiles for g++ compilation