add PE output stuff for X64 and for wlib and rc call