Junit fix for non-Windows platforms