Quantum Bohr compactification