Core: Make CMAKE_* defines only fallback, use environment as default