Remove linux specific calls

/cc @alexlarsson