Add map_writable from the KSplice project