Make software PID configurable via USE_SOFTWARE_PID define