small compilefixes for win