Fix to build inline with Android