Added support for platform-specific paths