move runtime dir. set macros for compiler. change for release