Fix sandbox compiler warnings when using -Wall