[PATCH] net: Handle disabling of compilation for SPL builds