remove unused variable in Windows code

Just removed one variable and multiple warnings.
(osrm.lock is hardcoded in all Windows code anyway)