fix build error of libexternal

Change-Id: Id0d41746c3b1861476ed0e9ee90a774444bd7b8e