you have to find out each dependency that 0.4 uses, such as libxml and boost. after which, you need to install them and link them to the project in vc++ directories and linker.
it's not as easy as you might think, which is why i wouldn't bother doing this since it's tedious enough to switch from an old compiler, old engine, and old dependencies to modernize it.
you'd be better off using a version of 1.x that suits your needs for the client you are using (i think you are using 8.6 based off of previous posts, so i would recommend ninja's tfs 1.2 downgrade for 8.6 protocol)