Compat with x86

I've tested with x86_64 before. It never seems to worked on x86, fixed.
Check for libs more intuitive