macros: Add locking hack.