Fixed multi-target build issue.