Cmake postgres support fixed