add <cstddef> to missing files, fix makefile