Fix so that SynchronisedAttribute works under VS2010