Add warning on building app if libraries' build dirs are missing
If the app has libraries defined, they usually need to be build once before building the app. This MR adds a warning on building the app in cases there are libraries defined, but their build directory is missing.