Changed averything neede to be able to compile on ofx 0.7.4