Allocate executable memory with VirtualAlloc() in Windows.