restructure resources location and Windows build