Fix apps cmake