Make installer script accept p940

For some widely used generic CWM recovery
Compile hwcomposer with -O3