Fixed compile errors

The project successfully compiles now