Improved VLC lib handling