memory corruption on multiple include resolution