linker error when using modulo operator in kernel