cleanup compilation for OSX

lot's of cmake cleanup for compiling under OSX.
add some missing Qt callbacks
start french translation