Moving x11 mutex constructor inline into header