Add inline fls() function for linux