Fix /r character probelms in getbuildprop function