Fix port build