As there are only two choices, you should be asking 'Which is better?'
There's no answer to that as they mean different things.
It depends what you need to emphasise: the building process or the finished product.
In the first, better is an adverb modifying build and in the second it's an adjective describing sentences.
Student or Learner