Rebuild when external dependencies change

Depends on mozilla/servo #2472.
Merge pull request #21 from mbrubeck/ext-deps

Rebuild when external dependencies change