Corrected implementation of Towny and WG build limitation