fixing phantomjs build error