Add multiplatform-path support. Close #1