Builds both targets of the app in one run (pio firmware, then the SDL2 emulator) so a change can never leave one of them silently broken. Falls back to ~/.platformio/penv/bin/pio when pio is not on PATH.