Because ct_locl.h is used between modules, move it to internal headers