cmake: code deduplication
cmake: rename default -> multithreaded

remove LEGACY_SYSTEM as its a duplicate of BUILD_spring-legacy