Fixed several parsing issues in the jml-build parser.