Fix build to package right versions of net35 and net45 code