Revert "TARGET_PROVIDES_LIBLIGHT without -S"

This reverts commit 630d98d6c9de71cc88934b00b98c39d86416c3aa.