* fixed compilation issues on android and linux