Rebuild when external dependencies change

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

Rebuild when external dependencies change