allow to define TARGET_SUPPORTS_SHARED_LIBS in cache