Fixed build path and preliminary work on supporting windows and better debugging