Separated library build depemdencies from the core make includes.
Fixed comments.
Added __BEGIN_DECLS/__END_DECLS.