checkpoint: reworked the building of all targets in the parser. not
working completely yet due to problems with the filehandle resets in the
parser. will work out later