Get closer to windows compilation
Working version for windows, fixed issue with encfilecreate