set build config to release and fix relative path in sample app