If I am informed correctly, it is aimed at TP-Link's software and lacking updates/support, which leads to their competitive pricing. Not at the hardware-level build process itself. Therefor using OpenWrt on a TP-Link router circumvents the security issues (possibly) present when using the OEM-software with unfullfiling support.