More changes for additiona windows support.  Choosing curl based on system arch.  Also re-worked the target command to work on windows