EU membership allows free movement of capital, goods and workforce between EU states with equal rights. Singling out Romania and Poland means you have a personal problem with these nationalities.
Don't like it? Vote your country leaving the EU.
Oh, and FYI, Romanian tech salaries are some of the highest in EU where new grads can earn €2k NET due to a hot market and low taxes so your point about wage dumping doesn't hold.