64 bit static release works.
Finally made 64bit version working