openobex: fix build

different line endings seem to be not patchable by default
add a complete CMakeLists.txt and copy it to builddir

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>