Fix compiler errors (based on eclipse settings in phoenix/dev)