Modified build file to work cross-platform, likely a better solution but this works

- Found a better solution