What I am looking for is a minimalistic webbrowser that doesnt need installation and can be run from a network share in all x86 windows environments without a hassle. But I also want to be able to make some modifications like removing certain functions etc... But that comes later.
First let me say that I am not a developer. I cannot help you with compiling you own version. There are available versions of K-Meleon in 7-Zip format which do not have to be installed. When you indicated that it needs to run from a network share, do you mean to have multiple users using the software at the same time? If so I think so tricks can be done to allow each user to have their own profile. Some information on that can be found here. http://kmeleon.sourceforge.net/wiki/ProfileLocation
If each user had their own shortcut which included the '-profilesDir command line switch', their profile would remain theirs alone.
A great deal of K-Meleon's functions are controlled by macros. If you can explain which functions you do not wish, perhaps I can help you with that.
Which version are you trying to build? Have you looked at K-Meleon 1.6.0 Beta 2.5? Although it is a beta, just about everything works. It is available here. https://dl.dropbox.com/u/1522294/K-Meleon1.6.0_Beta2dot5_en-US.7z
I will be glad to try to answer any questions you might have.