Fixing file loading compile errors, and a linker error with CRenderable