DRY up gpu library/header linking