Fixed linker errors, ensured example app can be built