FIX: compiler fixes for issue #825 (/local and /extern misbehave)