Using require('path') to make cross platform