make.sh: add support for LIBRARIES in modules and plugins. This allows automagic linking of necessary libraries without app-level specification.