This version of Crunch is the first one to compile without errors, but I still had to add math libraries manually.