well, first things first, are you compiling your own core or are you using a repack? if you are using a repack then you cannot add any C++ scripts in a precompiled core. If you are compiling from scratch then i will let you know how to do so but i dont really feel like explaining it unless you are in fact compiling your own core so let me know and i will give you a tut on how to do it