Compile fixes for renderer refactors