Only override add_library/add_executable once

If subprojects try to redefine these names (multiple times), cmake behaves badly