W/o setTarget() call, -lib parameter will not be added to dmd command line.
Fix is due to misunderstanding of generate_binary.