fixing string length check; local include paths on makefile