Fix cmake defines for application version