removed debug module and warnings::fatal_warnings check

warnings::fatal_warnings doesnt seem to work on older perls