undefined references fix