Fixed build inside x86 environment