remove trailing commas from build properties