modifications for building on android