fixes the linking failures