nsbcompile2: Compile # variables correctly