fix windows install error

as per #128, two small changes to allow installing on Windows with pip.