compile with mobile support