Require auto-complete-config. ac-source-yasnippet is defined there.