Refactor version handling to use version.cmake and update related scripts. Created new symbols to extract information by C function