fix autoloader on non-windows systems