Add check for KSP_DIR
Don't set KSP_DIR inside Makefile