Relaxed boost support with optional macro