Fix bccLinkBC.

Change-Id: I67d6f1a0dabfb272416a1f89258252facfbb3c00
diff --git a/lib/bcc/Script.cpp b/lib/bcc/Script.cpp
index 89d6115..f539cc0 100644
--- a/lib/bcc/Script.cpp
+++ b/lib/bcc/Script.cpp
@@ -234,7 +234,8 @@
   }
 
   // Link the source module with the library module
-  if (libraryBC) {
+  if (librarySize == 1 /* link against file */ ||
+      libraryBC        /* link against buffer */) {
     if (mCompiled->linkBC(NULL, libraryBC, librarySize, 0) != 0) {
       return 1;
     }