Fix XDK APX fails to build issue by bridging internal APIs.

BUG=https://crosswalk-project.org/jira/browse/XWALK-1607
Merge pull request #107 from huningxin/fix_apx

Fix XDK APX fails to build issue by bridging internal APIs.