Fixed critical linker error