[Bam.Core] USe the target version of the framework in the BuildAMation assembly to choose the compiler to use for assemblies for packages