Fixed problem with Castle.Core reference (updated Castle.Core)