create src tree for building phantomjs