fixed compiler linker error