Changed Castle Core dependency to accept Castle Core up to <4.0.0.0