Side note: If it complains about ‘Path’, put using System.IO; on top of your Build.cs file.
using System.IO;