ftrace: fix modular build