Fix directories variable initialization
Directories variable is not well created for Library projects or multiple projects (DS + Library) since they normally defined $LIB_OBJS instead of $SVC_OBJS for building the libraries.
Fix it, creating directories variable using also $LIB_OBJS variable