Check the TargetFrameworkAttribute for Mono instead of scanning assembly references