Added different targetdirs for each platform.