add framework path to link test to fix OS X SDK problem