Fix of targetType in configurations

Please review.
This change fixes build of libddbc.