followup pull #119, cmake out of tree

While building out of tree it complains about the missing ui_*.h header.
Headers are being created on the build/binary directory.