Fixes compilation errors, oops