voglcore: Add pthread as link library

This means any targets that use voglcore will automatically get pthread
include during linking. So we don't need to specify pthread in targets
that don't explicitly use them.
vogleditor: Add link libraries that are needed
Merge pull request #5 from andrewkww/fix_vogleditor_link

Fix linking issue in vogleditor