Try to fix the continuous build by building libjavacore.so.

(cherry picked from commit 0d302d7c175790ce6ea25e0b1d7981426f8379d4)

Change-Id: Ia482a15b2a8cfe9a08c63068cd1d3dd1e4d4d0b3