1. fixes failed to build on linux and nacl.