add get ld flags to setup_with_cmake