1)Refactored base.scm so to be easier to work with
2)Changed libpthread patch so it can be applied from the glibc base folder