update pci.ids path (if exists, so it could update it)

no changes, actually, it used inexistent path as well until now

also misc fixes:
- fix executable perms for shared libs
- build with our optflags where possible
- use our cc