x86: fixed pmap building