Currently the framework support Compat options per target basis, so I guess this solution shouldn't be needed anymore!