Fix compilation for not android target