Converted some linker errors to compiler errors.