Extend cdep files to support library type.

This closes bug #4. We now allow cdep files to state if we are building
a static or shared libraries for a project. This does presume that
a project is properly respecting the BUILD_SHARED_LIBS CMake variable.