Adapt for the DISABLE_DYNLOADING case

Change-Id: Ifd9ae240277a89162a2a821789b0d41204c1a490
No chartopengl library built for iOS or Android yet

Change-Id: I28a5eac3bbb85b608d60a1404c21150dafe36a6e