Fix linker problem with archived app