Fix compilation errors, perform some recommended project updates