fix library references for linux