Fix TIMING/STATS/COUNT_PAGES dynamic linker build