Fixed compiling and running procedure. This is a terrible hack right now but it works.