Fixed Working Directory

It should simply be '.' when in compile mode, or in other words, the same
as program_directory.