[build] Remove the un-supported porting in the building