Fix unsatisfied link error when calling java.io.File#lastModified on non-Windows

The code was already there, actually (with a minor naming issue preventing compilation), but in the Windows-specific part.