building: Remove unecessary flag pointer from building

Building already contains flg_index which always refers to the same flag