Parameter set to const for better readability; minor other changes.
Changed to use only one core for compilation. For small projects faster
build times.