When generating the Makefile, INCLUDE flags are generated on the assumption that the library headers live under an include/ directory after the library itself:
%library lib/libx/libx.a => generates -I/lib/libx/include/
Not all libraries can be easily organized in a src/ and include/ folder. It would be easier to have both the library directory itself, and then the include/ as well (for backwards compatibility reasons).