fix deriving implicit source path on windows