Fix for templates and static folders being excluded when installing via pip