Fix build dependency for mdeclarativecache
Fix NEMO#598: invoker segfaults when run without --type