Revert "Ensure lib and log directories exist"

This reverts commit e2a37b9fcbb0dfb364d0204ae931310465b37bf0.