Added sanity check to make sure all primitive files are found

Signed-off-by: Stefan Marr <git@stefan-marr.de>