Fix non-Linux compilation