try replacing
int led = 13;
with const int led = 13; or #define led 13
const int led = 13;
#define led 13