bind vertex attributes before linking program to fix issues with ati/amd