Ensure that we pass filepath to compile

fixes jenius/roots#559