Add build flags for windows and debug

Windows doesn't really work. Can't figure out static libs