[RFC] Add ${API_SOURCES} to `nvim-test` cmake target.

This should fix the build on OS X as reported in #720. I wonder why travis didn't caught this error(I can't reproduce on ubuntu 12.04). @elmart can you try this branch?