match targets by whole invocations instead of target names
fix build script
Version 0.1.7:
  * fix target matching