add platform specificity for ubuntu