Calling callback when empty dirs compiling

Hello dan, 

Please review the following commits I made in branch 'jeremy-emptyDirs'.

39db894223d530706d6ebc6cdb06ede053b733c7 (52 seconds ago)
Calling callback for empty dirs in compile

R=dan