Fix initialization of page directory.