Fixed Ubuntu having undefined references.