Use SOFTDEVICE_DIR_API and preserve SOFTDEVICE_DIR