Getting an error "compilation terminated. exit status 1 Error compiling for board Arduino Nano"

Something is odd with your setup. All files in that library show this structure:

#if defined(ARDUINO)
#include <Arduino.h>
#include "Wire.h"
#include "SPI.h"
#else
#include <cstddef>
#include <cstdint>
#include "core/core.h"
#endif

So if you're proper configured to compile for an Arduino board, the error will not happen.