add multicore for android build. THANKS TO ChrisP