Aparently the method described to compile inkscape 0.44 also works for Dia 0.95.
tar -xvjf dia-0.95.tar.bz2
sudo apt-get build-dep dia
#I configured it with support for gnome, cairo and phyton.
#remove cairo support if you feel it slow
./configure --enable-gnome --with-cairo --with-python
If something is missing for you, just fill the blanks using the compile inkscape 0.44 article.