addresses #795 checks for compiled file after compilation