Preliminary fixes for KASLR support.