cmake: only use __FILE__ relative path hack in release flags