sqlite windows check by Fabio Sangiacomo