Fixed bug. Was passing a binpath-relative file to buildpath().