[Bug 48924] compiling fails in preloader.c with undefined reference to memset due to -nodefaultlibs