Compiled project crashes when frozen with cx_freeze

Machine specs:
Windows 7 64bit
Python 2.7 32bit
.Net Framework 4.5.2

I download the repo for pythonnet and built the project using ReleaseWin on platform x86 using visual studio 2012.
pythonnet works fine but once i freeze the app using cx_freeze the app crashes.

It worked well with the source forge version but fails on windows 8 and 8.1.

After googling around i found that building the repo using x86 solves the problem.

Please anyone knows a fix ?