Make WriteExtensionDescriptorTask incremental
Fix target compatibility for module