improved error checking in KIM_API.cpp
change make system to cache Makefile.*List files for better speed