Fixed undefined symbol problem on runtime