build: Fix to also support SECURED=0