Individually check each library before continuing

Change-Id: I658dff7601f62a5749c3d254dd6f9a5c1271f22d