add string.h for memcpy on linux
change .gitignore to ignore lib folder