WiFi101 WiFi.macAddress() returns different MAC addresses

esp_system.h is not found when I try to compile for my MKR1000.

is this a component of the older WiFi library that is used for esp8266 based cards?

(I should have made it clear that I'm using the WiFi101 needed by the MKR1000 board).