improve android build scripts
add gcc optimization arguments