Using global configuration also for subtree
Adding TARGET_VERSION

instead of hard-coding the version in TARGET_FLAGS