Update targets.py

Update nRF51822 to upper case (required for the online build system)