Fix compile error with annotation processor