Updated rule to not attempt to create the dist dir everytime