Fixed makefile and added os files to gitignore