Fix build error and lua is not included in the server build