Optimize linux build file