Merge pull request #1331 from hathach/fix-esp-build

fix build with latest esp idf