Fixing build erros when imported into eclipse