add cgo directive for linux building.