Fixed unresolved symbol issues with ubuntu based distros