Fixed core target CORE_SOURCE variable