fixing vertex attrib name
improving link libraries for UNIX using variables