Fixed RuntimeMetadata handling for incremental build.

Dependency handling is fixed to make sure annotated classes are
reconsidered when runtime metadata required by them is re-generated.


Signed-off-by: Stefan Ocke <stefanocke@users.noreply.github.com>