Fixed sound library init to avoid crashing when no sound device is
present.