Linux test pthread linking